package com.chamber.business.mqtt.config;

public enum Topic {
    msg("ddam/msg", "广播消息"),
    sys("ddam/sys", "系统消息"),
    mc("ddam/mc", "设备消息"),
    offline("/disconnected", "离线消息");

    private final String value;
    private final String key;

    Topic(String value, String key) {
        this.value = value;
        this.key = key;
    }

    public String getValue() {
        return value;
    }

    public String getKey() {
        return key;
    }


}
